package com.jichaoyun.sys.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jichaoyun.model.entity.DoorOpenAlarm;

import com.jichaoyun.model.vo.AlarmVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author ljc
* @description 针对表【doorOpenAlarm】的数据库操作Mapper
* @createDate 2023-11-29 15:26:00
* @Entity com.jichaoyun.sys.entity.Dooropenalarm
*/
public interface DoorOpenAlarmMapper extends BaseMapper<DoorOpenAlarm> {
    IPage<List<AlarmVo>> selectDoorOpenAlarmPage(IPage<List<AlarmVo>> page,
                                                 @Param("start_time") String startTime,
                                                 @Param("start_time") String endTime,
                                                 @Param("line_id") Integer line_id);

    DoorOpenAlarm selectRecentOne(@Param("stationNo") int stationNo);
}




